package com.soft.idc.common.service;

import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;
import com.soft.idc.common.model.IdcRole;

public class IdcRoleService extends IdcRole {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5090371423858409216L;
	
	public static List<Record> queryRoleList(){
		String sql =  "SELECT R.ROLE_ID, R.ROLENAME FROM IDC_ROLE R";
		List<Record> result = Db.find(sql);
		return result;
	}

}
